package org.genntii.warehousesystem.domain.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.genntii.warehousesystem.domain.entity.Type;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "货品")
public class GoodsVO {
    private int id;
    private String name;
    private String brand;
    private String imgSrc;
    private String description;
    private BigDecimal outPrice;
    private BigDecimal wholesalePrice;
    private int wholesaleNum;
    private String specification;
    private List<Type> types;
    private int num;
}
